$.validator.setDefaults({
	onkeyup : false,
	showErrors : function(errorMap, errorList) {
		for ( var i = 0; i < errorList.length; i++) {
			var $element = $(errorList[i].element);
			$element.siblings(".validation-failed").text(errorList[i].message);
			$element.parents('.control-group').addClass("error");
		}
		var $validElements = this.validElements();
		$validElements.each(function(index, elem) {
			$(elem).siblings(".validation-failed").empty();
			$(elem).parents('.control-group').removeClass("error");
		});
	}
});